//
//  PageContollerCell.m
//  Fireball
//
//  Created by 俞渊华 on 2017/12/23.
//  Copyright © 2017年 俞渊华. All rights reserved.
//

#import "PageContollerCell.h"
#import "HomeBaseViewController.h"

@interface PageContollerCell ()
@property(nonatomic, strong)HomeBaseViewController *baseVC;
@end

@implementation PageContollerCell
-(instancetype)initWithFrame:(CGRect)frame{
    if ([super initWithFrame:frame]) {
//        self.baseVC = [[HomeBaseViewController alloc] init];
//        [self addSubview:self.baseVC.view];
//        [self.viewController addChildViewController:self.baseVC];
        NSLog(@"self.superview == %@",self.superview);
        NSLog(@"self.viewController == %@",self.viewController);

    }
    return self;
}
-(void)setMenu:(AticleMenu *)menu{
    _menu = menu;
//    self.baseVC.menu = _menu;
}
-(void)layoutSubviews{
    [super layoutSubviews];
//    [self.baseVC.view mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.edges.mas_equalTo(self);
//    }];
    
}
-(void)drawRect:(CGRect)rect{
    [super drawRect:rect];
}

@end
